package com.example.xpvideo.entity;

import java.math.BigDecimal;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 砍价规格表(LsBargainItem)实体类
 *
 * @author 
 * @since 2021-09-23 11:59:23
 */
@ApiModel("砍价规格表")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class LsBargainItem implements Serializable {
    private static final long serialVersionUID = -22150145564355178L;
        /**
    *主键
    * ${column.comment}
    * isnull 1
    */
    @ApiModelProperty(value="$column.comment",position=1)
    private Integer id;

    /**
    * 砍价活动ID
    * isnull 0
    */        @ApiModelProperty(value="砍价活动ID",position=2)
    private Integer bargainId;
    /**
    * 商品ID
    * isnull 0
    */        @ApiModelProperty(value="商品ID",position=3)
    private Integer goodsId;
    /**
    * 商品规格ID
    * isnull 0
    */        @ApiModelProperty(value="商品规格ID",position=4)
    private Integer itemId;
    /**
    * 砍价活动底价
    * isnull 0
    */        @ApiModelProperty(value="砍价活动底价",position=5)
    private BigDecimal floorPrice;
    /**
    * 首刀的价格,不能高于商品价,不能低于底价
    * isnull 0
    */        @ApiModelProperty(value="首刀的价格,不能高于商品价,不能低于底价",position=6)
    private BigDecimal firstKnifePrice;
        
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
        
    public Integer getBargainId() {
        return bargainId;
    }

    public void setBargainId(Integer bargainId) {
        this.bargainId = bargainId;
    }
        
    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }
        
    public Integer getItemId() {
        return itemId;
    }

    public void setItemId(Integer itemId) {
        this.itemId = itemId;
    }
        
    public BigDecimal getFloorPrice() {
        return floorPrice;
    }

    public void setFloorPrice(BigDecimal floorPrice) {
        this.floorPrice = floorPrice;
    }
        
    public BigDecimal getFirstKnifePrice() {
        return firstKnifePrice;
    }

    public void setFirstKnifePrice(BigDecimal firstKnifePrice) {
        this.firstKnifePrice = firstKnifePrice;
    }

        @Override
    public String toString() {
        return "{" +
                    " \"id\":" + id +
                                  " ,\"bargainId\":" + bargainId +
                            " ,\"goodsId\":" + goodsId +
                            " ,\"itemId\":" + itemId +
                            " ,\"floorPrice\":" + floorPrice +
                            " ,\"firstKnifePrice\":" + firstKnifePrice +
                  '}';
    }


}
